package com.jt9003.service.impl;

import com.jt9003.dao.QueryStockMapper;
import com.jt9003.pojo.Drugs;
import com.jt9003.service.QueryStockService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class QueryStockServiceImpl implements QueryStockService {
    @Resource
    private QueryStockMapper queryStockMapper;

    //库存查询页面 分页模糊查询
    public List<Drugs> queryStock (Map map){
    return queryStockMapper.queryStock(map);
    }
}
